package com.reg.mvctest.controller;

import com.reg.mvctest.service.CustomerRiskService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @Classname CustomerRiskController
 * @Description TODO
 * @Date 2025/6/4 15:34
 * @Created by rgs
 */
@RestController
@RequestMapping("/customer/risk")
public class CustomerRiskController {

    @Resource
    private CustomerRiskService customerRiskService;

    @PostMapping("/listCustomerRisk")
    public Map<String,Object> listCustomerRisk(){
        return customerRiskService.listCustomerRisk();
    }
}
